import request from '@/utils/request'

// 查询销售出库单统计列表
export function listSalseStatistics(query) {
  return request({
    url: '/xs/salseStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询销售出库单统计详细
export function getSalseStatistics(id) {
  return request({
    url: '/xs/salseStatistics/' + id,
    method: 'get'
  })
}

// 新增销售出库单统计
export function addSalseStatistics(data) {
  return request({
    url: '/xs/salseStatistics',
    method: 'post',
    data: data
  })
}

// 修改销售出库单统计
export function updateSalseStatistics(data) {
  return request({
    url: '/xs/salseStatistics',
    method: 'put',
    data: data
  })
}

// 删除销售出库单统计
export function delSalseStatistics(id) {
  return request({
    url: '/xs/salseStatistics/' + id,
    method: 'delete'
  })
}

// 查询销售出库单统计
export function selectStatistics(query) {
  return  request({
    url: '/xs/salseStatistics/select',
    method: 'get',
    params: query
  })
}
